import request from '@/utils/request'


// 获取举报文章列表
export const getAccusationArticleList = params => request.get(`/admin/articleReports`,{params})
// 根据id获取举报文章详细资料
export const getAccusationArticleInfo = id => request.get(`/admin/articleReports/${id}`)
// 根据id修改举报的文章
export const putAccusationArticleInfo = (id,data) => request.put(`/admin/articleReports/${id}`,data)
// 删除举报的文章
export const deleteAccusationArticle = data => request.delete(`/admin/articleReports`,{data})